package com.zpark.service;

import com.zpark.pojo.Ranking;
import org.springframework.stereotype.Service;
import org.springframework.web.bind.annotation.Mapping;
import org.springframework.web.bind.annotation.RequestMapping;

import java.util.List;


public interface ISouHuService {
    //查询所有
    List<Ranking> selectAll();
    //根据id查找
    Ranking selectById(Integer id);
    //添加数据
    Integer insert(Ranking ranking);
    //根据ID修改数据
    Integer updateById(Integer id,String fName);
    //根据Id删除
    Integer deleteById(Integer id);
}
